<?php
/**
 * Created by PhpStorm.
 * User: 29620
 * Date: 2021/10/21
 * Time: 15:51
 */
namespace app\admin\model;
use think\Model;
class User extends Model
{
    public static function getUser()
    {
        $user = User::select();
        return $user;
    }

    public static function getVip()
    {
        $vip = User::paginate(['list_rows'=>5]);
        return $vip;
    }
}






























